package BridgePattern;

public class Display {
    private DisplayImpl imp1;

    public Display(DisplayImpl imp1) {
        this.imp1 = imp1;
    }
    public void open(){
        imp1.rawOpen();
    }
    public void print(){
        imp1.rawPrint();
    }
    public void close(){
        imp1.rawClose();
    }
    public final void display(){
        open();
        print();
        close();
    }
}
